package com.zyit.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface PrescriptiomMapper {



    @Update("update prescription set pay_status = 1 where registry_id=#{registryId} and patient_id=#{patientId}")
    int updatePayStatus(@Param("registryId") Integer payStatus, @Param("patientId") Integer registryId);


    @Update("update prescription set is_fetch_medicine = 2 where registry_id=#{registryId} and patient_id=#{patientId}")
    int updateIsFetchMedicine(@Param("registryId") Integer payStatus, @Param("patientId") Integer registryId);


}
